set(misc_SRCS
	main.cc
	methods.cc
		../../shared/getopt.c
	../../shared/getopt.h
	)
add_executable(misc ${misc_SRCS})
target_link_libraries(misc fntshared)
target_include_directories(misc PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../shared")
set_target_properties(misc PROPERTIES OUTPUT_NAME "${PACKAGE_NAME}-misc")
install(TARGETS misc RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")

